import React, { PureComponent, StrictMode } from 'react'

class Home extends PureComponent {
  // UNSAFE_componentWillMount() {
  //   console.log("home componentWillMount");
  // }

  constructor() {
    super();

    console.log("Home comstructor");
  }

  render() {
    return (
      <div>
        Home
      </div>
    )
  }
}

class Profile extends PureComponent {
  // UNSAFE_componentWillMount() { 
  //   console.log("Profile componentWillMount");
  // }

  constructor() {
    super();

    console.log("Profile comstructor");
  }

  render() {
    return (
      <div>
        Profile
      </div>
    )
  }
}


export default class App extends PureComponent {
  render() {
    return (
      <div>

        <StrictMode>
          <Home></Home>
        </StrictMode>

        <Profile></Profile>
      </div>
    )
  }
}
